package com.databasir.core.diff.data;

public enum DiffType {
   NONE,ADDED,REMOVED,MODIFIED;

   public static boolean isModified(DiffType type){
       return  type!=null && type !=NONE;
   }
    public boolean isAdded() {
        return this == ADDED;
    }

    public boolean isRemoved() {
        return this == REMOVED;
    }

    public boolean isNone() {
        return this == NONE;
    }

}
